#ifndef TESTNET_H
#define TESTNET_H

#include <QtCore/QObject>
#include <QtCore/qglobal.h>

#include <QTextCodec>
#include <QIODevice>
#include <QFile>

#include <QUrl>
#include <QNetworkReply>
#include <QSslSocket>
#include <QSslConfiguration>
#include <QNetworkRequest>
#include <QNetworkAccessManager>

class TestNet : public QObject
{
    Q_OBJECT
public:
    explicit TestNet(QObject *parent = nullptr);

    QNetworkAccessManager *m_manager = NULL;
    QNetworkRequest *m_request = NULL;

    void test();
    void GetWeb();
    void GetWebFinished(QNetworkReply *reply);
};

#endif // TESTNET_H
